package com.nwcl.common.exception;

/**
 * @author liguiqin
 * @date 2023/5/26
 */
/*
 * @Description:自定义异常
 * @Author liguiqin
 * @Date 2023/5/26 15:20
 * @param: null
 * @return
 * @UpdateDate 2023/5/26 15:20
 **/
public class CustomException extends RuntimeException{
    private String message;

    public CustomException(String message) {
        this.message = message;
    }

    public CustomException() {
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
